package net.sourceforge.openclixml;


/**This class wraps exceptions caught somewhere in the code that cannot be treated there or represents new exceptions that cannot be handled in the place the exception occurs.
 *
 * @version $Revision: 39 $
 * @author dominikjungo
 *
 * Last changed: $Date: 2008-01-22 21:38:51 +0100 (Tue, 22 Jan 2008) $
 * The License for this file can be found in doc/Licenses/license-OpenCliXML.txt
 */
public class ClixmlException extends Exception {
    /**
     * A new exception not based on another exception. This should be used in an exceptional case which cannot be handled at a specific part of the code.
     * @param reason A message explaining the raised exception.
     */
    public ClixmlException(final String reason) {
        super(reason);
    }

    /**
     * An exception that is raised when another exception could not be handled. This Exception acts like a warpper for the exception that could not be handled.
     * @param reason A message explaining the raised exception.
     * @param exception The exception that could not be handled.
     */
    public ClixmlException(final String reason, final Exception exception) {
        super(reason, exception);
    }
}
